<?php
defined('BASEPATH') OR exit('No direct script access allowed');

class Front extends CI_Controller {

	public function index()
	{	
		$this->load->model('Prodect_model');
		$this->load->model('Article_model');
		$this->load->model('Prodect_catalog_model');
		$data=array(
			"prodect"=>$this->Prodect_model->get_all(),
			"notice"=>$this->Article_model->get_lastest(5,0),
			"news"=>$this->Article_model->get_lastest(5,1),
			"prodect_catalog"=>$this->Prodect_catalog_model->get_pc(),
			);		
		$this->load->view('front',$data);
	}
}
